package com.weds.frame.auth.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * Description:
 * Author: LiuWenQing
 * Datetime: 2023/3/31 10:06
 */
@ApiModel
@Data
public class ScRole implements Serializable {
    private static final long serialVersionUID = 4298665430689036752L;

    private Integer roleId;
    @ApiModelProperty(value = "角色编号")
    private String roleNo;
    @ApiModelProperty(value = "角色名称")
    private String roleName;
    @ApiModelProperty(value = "是否系统角色")
    private Integer isSystem;
    @ApiModelProperty(value = "是否管理员属性")
    private Integer isManager;
    @ApiModelProperty(value = "角色组别（预留字段）")
    private Integer groupId;
    @ApiModelProperty(value = "角色对应人数")
    private Integer userCount;
    @ApiModelProperty(value = "菜单id（预留字段）",required=true)
    private Integer menuId;
    @ApiModelProperty(value = "所属应用模块（多个逗号拼接）")
    private String serverModule;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "使用状态")
    private Integer useStatusId;
    @ApiModelProperty(value = "顺序")
    private Integer showOrder;
    @ApiModelProperty(value = "版本")
    private String version;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Timestamp ctDate;
    @ApiModelProperty(value = "角色创建人id")
    private Integer ctUserId;
    @ApiModelProperty(value = "角色创建人")
    private String ctUserName;

    private Integer bsDeptId;

    @ApiModelProperty(value = "角色创建人",required=true)
    private String userName;

}
